Simple_History\WP_REST_Events_Controller A

Total Complexity 51
Dependencies 7
Dependents 1
Total lines 811
Lines of code 543
Logical lines of code 161
Comment lines 164
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
C
32 24 101
get_items()
A
39 8 66
get_collection_params()
S
35 1 118
get_item_schema()
S
36 2 102
get_item_permissions_check()
S
53 4 25
get_has_updates()
S
47 3 40
register_routes()
S
47 1 44
get_single_event()
S
63 2 11
get_items_permissions_check()
S
64 2 10
__construct()
S
73 1 5
get_item()
S
70 1 6
event_exists()
S
66 1 10
get_collection_params_for_has_updates()
S
73 1 5